<?php
namespace pay\yop;

class Config {
  
    private $cfg = array(
        // 父商户编号
        'parentMerchantId'  => '10019619181', 
        // 子商户编号
        'merchantId'        => '10023875143',
        // 自定义异步通知地址
        'callbackurl'       => 'http://39.107.87.17/pay/yop/callback/index?id=3',
        // yop请求地址
        'yopUrl'            => 'https://open.yeepay.com/yop-center',
        // 下单请求地址
        'orderUrl'          => '/rest/v1.0/sys/trade/order',
        // 查单请求地址
        'orderQueryUrl'     => '/rest/v1.0/sys/trade/orderquery',
        // 代付请求地址
        'daifuUrl'          => '/rest/v1.0/balance/transfer_send',
        // 代付查询地址
        'daifuQueryUrl'     => '/rest/v1.0/balance/transfer_query',
        // 父商编私钥
        'parentPrivateKey'  => 'MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCbudnz68m9X58FTC9RbQ4K+GlcFNa4XkdnD5N0eJmcETMYiFZY3GDNv41PVC4vtS66AWAqJbUuZU6W3KWs9MOGzRw6kEaEUFVD0Bc96D1K3pxMDS78Z3dln9hWy+RQRr1az1rI0qn+w65zlUB0Wb+Ja4FFNm8SX4aFuHy7vMpjFpfHbrtVnsx2HeC7Og/iHzuJ0WiZiAJEh1saiUP4HN6bWmCi94JHD4JnemTN78V1HFK7V+tTQ6UAVeB4ENVbiNpFBgmnFIkuQBVYPT0jinCfLLLXbofX0hWIXXjqejz1Wc6ZkxxaA0LNx9IOAGD93Qn4899wesYxeaaVikVLnFRJAgMBAAECggEAeKig+oEYWBXt5bHo++NOvStKn2E6GbJbCryj2NvU0Xr2Jy0EEmf2zZR8zhmAi9CLuu1z8FQ1NRSjtvqRmBgyI5FrLOk66ixAVIG4cGwwiYFAgyC35jPY7DHU8zOZ3KVi9Cizw+SOeOpvkfjz7vLXGIfmqpUJrKe9WIDgjKoz+l+CmlJ57YNk6r+O7usvPTp0HZU7oLBbXh38tSYsTqokhE1A3s/W6pP0x79kwoD8PvRjv8WeDHOw2bbzTWUGlwitf2S4++f7c12P+zozAkeXBghzUf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S16aL/parjN6wGmIS16+srvQVMY4OH7mAgmfbYVyY7M
/Pm78AV6eW2FwhP0ZQhXPL7Sg/7DQkOnnFp+c4c4KCGi/YFGPBitnPjOSwKBgQCh
TJkGvm/3yhS+PCLBRK8rkNwdOjPLzhyzLqLWEOarzazDXSZahZ3ASxpc3VGjIvBg
4GT/esHUgA1/LLq1f6hd59JXl4edIykoE2VbXNzo5WoLPjCtlDhCQjtRuh1lGgxf
rgDv18j+VcPsH2b5ZQic0wwEgfNh9i3mWD3UA1IYAQKBgDwzCQpb+l9rqPpeXQF+
i+v5JpQUytlM7yYymBpTJ+gxiDXIswXmWFXKEKENPV6T3547pxOY2rUpmXFmnjKQ
c1YonnmK9rZb2NPDOp95FHpbeUY28CjSX7JbYBLgQvhKw1Q6omnzypsd7X1RiXAO
eab0oVQ4gAFPveOPzsz/ufdk',
        // 易宝公钥
        'yop_public_key'    => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6p0XWjscY+gsyqKRhw9MeLsEmhFdBRhT2emOck/F1Omw38ZWhJxh9kDfs5HzFJMrVozgU+SJFDONxs8UB0wMILKRmqfLcfClG9MyCNuJkkfm0HFQv1hRGdOvZPXj3Bckuwa7FrEXBRYUhK7vJ40afumspthmse6bs6mZxNn/mALZ2X07uznOrrc2rk41Y2HftduxZw6T4EmtWuN2x4CZ8gwSyPAW5ZzZJLQ6tZDojBK4GZTAGhnn3bg5bBsBlw2+FLkCQBuDsJVsFPiGh/b6K/+zGTvWyUcu+LUj2MejYQELDO3i2vQXVDk7lVi2/TcUYefvIcssnzsfCfjaorxsuwIDAQAB',
       );
    
    public function C($cfgName) {
        return $this->cfg[$cfgName];
    }
}